package com.wxc.wxcwzq.web.mapper;

import org.apache.ibatis.annotations.Mapper;

import com.github.pagehelper.Page;
import com.wxc.wxcwzq.web.entity.SysRoles;
@Mapper
public interface SysRolesMapper {
	
	//条件查询所有
    Page <SysRoles> queryAllRoleInfo(SysRoles record);
    //主键查询
	SysRoles selectByPrimaryKey(Long id);
	//插入
    int insertRoles(SysRoles record);
    //更新修改
    Integer updateRoles(SysRoles record);
    //物理删除
    int deleteByPrimaryKey(Long id);
    //逻辑删除
    int deleteRoleById(Long id);
    
}